using System;
using System.Collections.Generic;
using System.Text;
using System.ServiceModel;

namespace DigitalFortress.Base {
	/// <summary>
	/// Describe basic services properties.
	/// </summary>
	[ServiceContract(Namespace = "http://DigitalFortress/2007/06", Name = "IService", 
		SessionMode = SessionMode.Allowed)]
	public interface IService {
		/// <summary>
		/// Indicates if Service is alive.
		/// </summary>
		/// <returns>Returns true.</returns>
		/// <summary>
		/// Indicates if Service is alive.
		/// </summary>
		/// <returns>Returns true.</returns>
		[OperationContract(IsTerminating = false, IsInitiating = true, IsOneWay = false, AsyncPattern = false, Action = "Ping")]
		System.Boolean Ping();
	}
}
